package com.yuan.springcloud.autoimport.annotation;

import com.yuan.springcloud.autoimport.configuration.BeanImportSelector;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author YouYuan
 * @version 1.0
 * @date 2020/3/26 1:37
 */
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Target(ElementType.TYPE)
//Spring会自动去找@Import注解标识的ImportSelector类
@Import(BeanImportSelector.class)
public @interface EnableAutoImportBean {
}
